<template>
  <div>
    <a-button type="primary">点我</a-button>
  </div>
</template>

<script lang="ts">
export default {
  name: 'yt-button', //组件名
  props: {
    text: {
      type: String,
      required: true,
    },
  },
}
</script>

<style scoped>
/* button {
  width: 100px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  cursor: pointer;
} */
</style>
